 <div class="container">

<?php
if (empty($datalist)) {
	echo "<h3>Data masih kosong!</h3>";
}
else {
?>
			<table id="my_data_list" class="table table-striped table-bordered" cellspacing="0" width="100%">
				<thead>
					<tr>
						<th>NIK</th>
						<th>Departemen</th>
						<th>Insentif</th>
					</tr>
				</thead>
				<!--
				<tfoot>
					<tr>
						<th>No</th>
						<th>NIK Pemegang</th>
						<th>Waktu</th>
						<th>Lokasi</th>
						<th>Nama Pelanggar</th>
						<th>Aksi</th>
					</tr>
				</tfoot>
				-->
				<tbody>
				<?php
				$no = 1;
				foreach ($datalist as $data):
				?>
					<tr>
						<td><?php echo $data->NAMA_PEMEGANG; ?></td>
						<td><?php echo $data->LOKASI; ?></td>
						<td><?php echo $data->NAMA_PELANGGAR; ?></td>
						<!--<td><a href="<?php echo base_url();?>index.php/stop/ubah/<?php echo $data->ID_KARTU; ?>">Ubah</a> | <a href="<?php echo base_url();?>index.php/stop/hapus/<?php echo $data->ID_KARTU; ?>">Hapus</a>  | <a href="<?php echo base_url();?>index.php/stop/detail/<?php echo $data->ID_KARTU; ?>">Detail</a></td>-->
					</tr>
				<?php
				$no++;
				endforeach;
				?>
				</tbody>
			</table><?php } ?>
		</div></body></html>